#include "user.h"


std::vector<Permission> User::getPermissions() const
{
    return permissions;
}

void User::setPermissions(const std::vector<Permission> &value)
{
    permissions = value;
}

void User::setPassword(const std::string &value)
{
    password = value;
}

int User::getRole() const
{
    return role;
}

void User::setRole(int value)
{
    role = value;
}

std::string User::getUsername() const
{
    return username;
}

void User::setUsername(const std::string &value)
{
    username = value;
}
